package com.liming.user.service.impl;

import com.liming.payment.client.PaymentClient;
import com.liming.service.wx.pojo.vo.PrepayVO;
import com.liming.user.service.PaymentService;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author liming
 * @date 2025/4/9
 */
@Slf4j
@Service
@AllArgsConstructor
public class PaymentServiceImpl implements PaymentService {

    private final PaymentClient paymentClient;

    @Override
    public PrepayVO wxRepay(Long orderId) {
        return paymentClient.wxRepay(orderId);
    }
}
